package com.example.spring.service;

import java.util.List;

import org.hibernate.HibernateException;

import com.example.spring.form.Contact;

public interface ContactService {

	public void addContact(Contact contact) throws HibernateException;
    public List<Contact> listContact();
    public void removeContact(Integer id);
	
}
